using System;

[Serializable]
public class RuntimeSaveData
{
    public SaveData_Global globalData;
    public SaveData_Player playerData;
    public SaveDataList<SaveData_Container, Container> containerData;
    public SaveDataList<SaveData_Dialog, DialogGraph> dialogData;
    public SaveDataList<SaveData_Gear, Gear> gearData;

    public RuntimeSaveData(InitData init)
    {
        globalData = new SaveData_Global();
        playerData = new SaveData_Player(init);
        containerData = new SaveDataList<SaveData_Container, Container>();
        containerData.datas.Add(init.CreateInitItems());
        dialogData = new SaveDataList<SaveData_Dialog, DialogGraph>();
        gearData = new SaveDataList<SaveData_Gear, Gear>();
    }
}